/*
 * global.h
 *
 *  Created on: 2014��8��22��
 *      Author: george
 */

#include <jni.h>
#include <string.h>

#pragma once


extern JNIEnv* jniEnv;
extern JavaVM *gs_jvm;


extern JNIEnv* audioDecodeThreadJniEnv;
extern JNIEnv* videoDecodeThreadJniEnv;
extern JNIEnv* DataRecvThreadJniEnv;

extern jclass revokeClass;
extern jobject revokeInstance;
extern bool jniAudio;
extern float baseTimeLine;
extern bool useShareMemory;

const int delayFrameCount = 0;

extern int videoDuration;
